<?php

namespace app\validate;

use think\Validate;

/**
 * 客户管理-企业管理
 */
class CustomerEnterPriseList extends Validate
{
    protected $rule = [
        'aliasId|别名' => 'require',
        'page|页码' => 'require|number',
        'pageNum|每页条数' => 'require|number',
        'enterprise_name|企业名称' => 'requireWith:enterprise_name',
        'contacts|联系人' => 'requireWith:contacts',
        'mobile|联系电话' => 'requireWith:mobile',
        'area|所属区域' => 'requireWith:area',
        'area_level|区域等级' => 'requireWith:area',
        'establish_start_date|成立时间开始' => 'requireWith:establish_start_date',
        'establish_end_date|成立时间结束' => 'requireWith:establish_end_date',
        'qualifications_type|资质类别' => 'requireWith:qualifications_type',
        'secure_expire_start_date|安全时间开始' => 'requireWith:secure_expire_start_date',
        'secure_expire_end_date|安全时间结束' => 'requireWith:secure_expire_end_date',
//        'register_price|注册资金' => 'requireWith:register_price',
    ];
}